package com.chixing.day04_oop.cpu;

public class Cpu {
    private long cpuId;
    private String cpuModel;
    private String cpuManufacturer;

    public long getCpuId() {
        return cpuId;
    }
    public void setCpuId(long cpuId) {
        this.cpuId = cpuId;
    }

    public String getCpuModel() {
        return cpuModel;
    }
    public void setCpuModel(String cpuModel) {
        this.cpuModel = cpuModel;
    }

    public String getCpuManufacturer() {
        return cpuManufacturer;
    }
    public void setCpuManufacturer(String cpuManufacturer) {
        this.cpuManufacturer = cpuManufacturer;
    }

    public Cpu(){}

    @Override
    public String toString() {
        return "Cpu{" +
                "cpuId=" + cpuId +
                ", cpuModel='" + cpuModel + '\'' +
                ", cpuManufacturer='" + cpuManufacturer + '\'' +
                '}';
    }

    public Cpu(long cpuId, String cpuModel, String cpuManufacturer) {
        this.cpuId = cpuId;
        this.cpuModel = cpuModel;
        this.cpuManufacturer = cpuManufacturer;


    }
}

